package Reply2;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface Reply2Mapper {
	HashMap<String,Object> selectById(@Param("reply2_id") int reply2_id);
  	List<HashMap<String,Object>> selectByBoardId(@Param("content_id") int content_id,@Param("team_id") int team_id);
  	List<HashMap<String,Object>> selectByTeamId(@Param("team_id") int team_id);
  	
  	int selectByBoardIdCount(@Param("content_id") int content_id,@Param("team_id") int team_id);
  	void insert(HashMap<String,Object> item);
    void updateById(HashMap<String,Object> item);
    void deleteById(@Param("reply2_id") int reply2_id);
    List<Reply2Item> selectByContentId(int content_id);
}
